package com.gengzp.common.model.role.resp;

import com.gengzp.common.model.generic.resp.GenericResp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @ClassName PageSysRoleResp
 * @Description
 * @Author gengzp
 * @Date 2025/9/9 9:46
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PageSysRoleResp extends GenericResp {

    @Serial
    private static final long serialVersionUID = 3834739138098959058L;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述")
    private String roleDescription;

    /**
     * 已关联用户数
     */
    @ApiModelProperty(value = "已关联用户数")
    private Integer relationUserCount;

    /**
     * 已关联权限数量
     */
    @ApiModelProperty(value = "已关联权限数量")
    private Integer relationPermissionCount;

    /**
     * 已关联控制台页面数量
     */
    @ApiModelProperty(value = "已关联控制台页面数量")
    private Integer relationConsolePageCount;

}
